<?php if($status==1) { ?> <a target="_blank" href="#" ><img src="<?php echo $image; ?>" name="idflash" id="idflash" border="0"></a>                 
<?php } ?>